//
//  UserEntity.h
//  UnionRich
//
//  Created by 云天 on 15/3/23.
//  Copyright (c) 2015年 cgc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserEntity : NSObject
@property (nonatomic,copy  ) NSString * PineNut;
@property (nonatomic,copy  ) NSString * PineConeRedCount;
@property (nonatomic,copy  ) NSString * ExtendKey;
@property (nonatomic,copy  ) NSString * UserLevel;
@property (nonatomic,copy  ) NSString * nickName;
@property (nonatomic,copy  ) NSString * TelNo;
@property (nonatomic,copy  ) NSString * IsExtend;
@property (nonatomic,copy  ) NSString * PineConeRedAva;
@property (nonatomic,copy  ) NSString * IsStrategyPeople;
@property (nonatomic,copy  ) NSString * PineConeGreen;
@property (nonatomic,copy  ) NSString * PineConeGreenAva;
@property (copy, nonatomic) NSString * access_token;
@property(nonatomic,copy)NSString *CommuneNumber;
@property(nonatomic,copy)NSString *MyBindNumber;
@property(nonatomic,copy)NSString *PineConeParkRank;
@property(nonatomic,copy)NSString *StrategyPeopleNum;

/***  token_type */
@property (copy, nonatomic) NSString * token_type;

@property (assign, nonatomic,getter=isLogin)BOOL loginOrNO;
/***  dataArray */
@property (strong, nonatomic) NSArray * dataArray;



/***  error*/
@property (copy, nonatomic) NSString * error;
@property (copy, nonatomic) NSString * error_description;

/***  过期时间(copy?) */
@property (copy, nonatomic) NSDate * expires_on;
/***  用户Id*/
@property (copy, nonatomic) NSString * userId;

//获取当前的用户信息
+(UserEntity * )shardUserInfo;
+(void)clearAllData;




@property(nonatomic,strong)UINavigationController *navViewController;
@end


